<template>
  <div>
    <van-list>
      <van-cell v-for="item in list" :key="item" :title="item" @click="toSearch(item)" />
    </van-list>
  </div>
</template>

<script>
export default {
  props: ["list"],
  data() {
    return {
      toSearch(e) {
        this.$store.commit("changeBlockShow", 3);
        this.$store.dispatch("AsyncChangePopGoodList", { keyword: e });
      }
    };
  }
};
</script>

<style>
</style>